package com.github.soiff.shadow.api;

import com.github.soiff.shadow.definition.Global;
import com.github.soiff.shadow.definition.Handler;
import org.springframework.core.env.Environment;

import java.util.List;

/**
 * Created by Soiff on 2016/05/19.
 *
 * @author : Soiff
 */
public interface Plugin {

    boolean initial (final Global context);
    Environment environment ();
    String resources ();
    List<Handler> handlers ();

    boolean update();
    boolean remove();
    boolean reload();
}
